package study.supervisorStrategy

import akka.actor.Actor

/**
 * @Description: TODO
 * @Author: DJJ
 * @Date: 2019/12/12 18:32
 */
class LoanRateQuotes1 extends Actor{

  override def preStart(): Unit = {
    //重启
    println("preStart")
  }

  override def receive: Receive = {
    case "hello"=>
      println("gogogogo")
      var  i:String=null
      i.charAt(0)
  }
}
